package com.v5ent.mongo4j.entity;

import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

@Document("User")
public class User {

    private long _id;
    private String _t;
    private List<String> C;
    private String Name;
    private int UserId;
    private int Beans;
    private int Jewel;
    private String Icon;
    private int Sex;
    private String Ip;
    private String Location;
    private boolean IsOnLine;

    public long get_id() {
        return _id;
    }

    public void set_id(long _id) {
        this._id = _id;
    }

    public String get_t() {
        return _t;
    }

    public void set_t(String _t) {
        this._t = _t;
    }

    public List<String> getC() {
        return C;
    }

    public void setC(List<String> C) {
        this.C = C;
    }

    public String getName() {
        return Name;
    }

    public void setName(String Name) {
        this.Name = Name;
    }

    public int getUserId() {
        return UserId;
    }

    public void setUserId(int UserId) {
        this.UserId = UserId;
    }

    public int getBeans() {
        return Beans;
    }

    public void setBeans(int Beans) {
        this.Beans = Beans;
    }

    public int getJewel() {
        return Jewel;
    }

    public void setJewel(int Jewel) {
        this.Jewel = Jewel;
    }

    public String getIcon() {
        return Icon;
    }

    public void setIcon(String Icon) {
        this.Icon = Icon;
    }

    public int getSex() {
        return Sex;
    }

    public void setSex(int Sex) {
        this.Sex = Sex;
    }

    public String getIp() {
        return Ip;
    }

    public void setIp(String Ip) {
        this.Ip = Ip;
    }

    public String getLocation() {
        return Location;
    }

    public void setLocation(String Location) {
        this.Location = Location;
    }

    public boolean getIsOnLine() {
        return IsOnLine;
    }

    public void setIsOnLine(boolean IsOnLine) {
        this.IsOnLine = IsOnLine;
    }
}
